import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useReumeStore = defineStore('resume', () => {
  const entryList = ref([
    {
      id: 1,
      title: '教育背景',
      contentList: [
        {
          title: '山楂科技大学',
          subTitle: '软件工程',
          time: '2020-2024',
          content: '激励挂嘎嘎嘎嘎',
        },
      ],
    },
    {
      id: 2,
      title: '核心技能',
      contentList: [
        {
          title: '',
          subTitle: '',
          time: '',
          content: `
              前端技术栈：HTML5, CSS3, JavaScript (ES6+), TypeScript, React.js, Angular, Vue.js
              `,
        },
      ],
    },
    {
      id: 3,
      title: '工作经历',
      contentList: [
        {
          title: '山楂科技大学',
          subTitle: '软件工程',
          time: '2020-2024',
          content: '激励挂嘎嘎嘎嘎',
        },
      ],
    },
  ])

  return {
    entryList,
  }
})
